Ext.namespace("Project.Main");//PactManagement.js

Project.Main = function(){
	
	var mainPanel = new Ext.TabPanel( {
		activeTab : 0,
		width : 950,
		border : false,
		renderTo : 'main',
		items : [ {
			title : '消息发布',
			autoHeight : true,
			items : [ new MessageCreatePact().MessagecreatePanel ]
		}
		,
		{
			title : '消息接收',
			autoHeight : true,
			items : [ new MessagecustomerShare().MessagecustomerSharePanel ]
		}
		,
		{
			title : '已发消息',
			autoHeight : true,
			items : [ new SendMessageHistory().SendMessageHistoryPanel ]
		}
//		,
//		{
//			title : '已收消息',
//			autoHeight : true,
//			items : [ new ReceiveMessageHistory().ReceiveMessageHistoryPanel ]
//		}
		
		
		]
	});
	
	
	
	
	
};
	
	Ext.onReady(function(){
		 Ext.QuickTips.init();
		 Ext.form.Field.prototype.msgTarget = 'side';
		 Ext.BLANK_IMAGE_URL = '../resources/images/default/s.gif';
		 new Project.Main();
	});